#pragma once

#include "Viewer.h"

#include <string>
#include <iostream>

using namespace std;

class FileOb
{
public:
	FileOb() {}
	virtual ~FileOb() {}
	virtual void SetPath(string path) = 0;
	virtual void Show() = 0;
protected:
private:
};

class ImageFile : public FileOb, private Viewer
{
public:
	ImageFile();
	~ImageFile();
	void SetPath(string path);
	void Show();
protected:
private:
	string _path;
};

class ImageFileExt : public FileOb
{
public:
	ImageFileExt(Viewer* viewer);
	~ImageFileExt();
	void SetPath(string path);
	void Show();
protected:
private:
	string _path;
	Viewer* _viewer;
};